#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @FileName  :临时测试.py
# @Time      :2024/10/17 
# @Author    :CL
# @email     :1037654919@qq.com


import requests


headers = {
    "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7",
    "Accept-Language": "zh-CN,zh;q=0.9",
    "Cache-Control": "no-cache",
    "Connection": "keep-alive",
    "Pragma": "no-cache",
    "Sec-Fetch-Dest": "document",
    "Sec-Fetch-Mode": "navigate",
    "Sec-Fetch-Site": "same-origin",
    "Sec-Fetch-User": "?1",
    "Upgrade-Insecure-Requests": "1",
    "User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36",
    "sec-ch-ua": "\"Google Chrome\";v=\"129\", \"Not=A?Brand\";v=\"8\", \"Chromium\";v=\"129\"",
    "sec-ch-ua-mobile": "?0",
    "sec-ch-ua-platform": "\"Linux\""
}
cookies = {
    "_c_WBKFRo": "mrXxUXpvbV0eizhTxBrg65Q0OYLVDlBkhqITuUtE",
    "api_token": "ST-438-9fb5fdfdf45cca011f22435bb48753086",
    "abBoss3": "1.0",
    "name": "15801366532",
    "sensorsdata2015jssdkcross": "%7B%22distinct_id%22%3A%22a59c4e75d4cfe8b0fff93f526f76e2323%22%2C%22first_id%22%3A%2219289ac39696e0-0e914ffee05328-1e462c6f-2073600-19289ac396a6a5%22%2C%22props%22%3A%7B%22%24latest_traffic_source_type%22%3A%22%E7%9B%B4%E6%8E%A5%E6%B5%81%E9%87%8F%22%2C%22%24latest_search_keyword%22%3A%22%E6%9C%AA%E5%8F%96%E5%88%B0%E5%80%BC_%E7%9B%B4%E6%8E%A5%E6%89%93%E5%BC%80%22%2C%22%24latest_referrer%22%3A%22%22%7D%2C%22%24device_id%22%3A%2219289ac39696e0-0e914ffee05328-1e462c6f-2073600-19289ac396a6a5%22%7D",
    "clientIp": "112.14.35.253",
    "uuid": "f07da6b6-fa3e-4b50-87c0-995fe8d4b2cb",
    "Hm_lvt_5fd2e010217c332a79f6f3c527df12e9": "1728886618,1728890134,1729128114",
    "HMACCOUNT": "8A7B5B515FA69801",
    "Hm_up_5fd2e010217c332a79f6f3c527df12e9": "%7B%22uuid%22%3A%7B%22value%22%3A%22f07da6b6-fa3e-4b50-87c0-995fe8d4b2cb%22%2C%22scope%22%3A1%7D%2C%22uid_%22%3A%7B%22value%22%3A%22a59c4e75d4cfe8b0fff93f526f76e2323%22%2C%22scope%22%3A1%7D%2C%22userId%22%3A%7B%22value%22%3A%22a59c4e75d4cfe8b0fff93f526f76e2323%22%2C%22scope%22%3A1%7D%7D",
    "fingerprint": "e96543d5055da432f6047d1a117c6672",
    "Hm_lpvt_5fd2e010217c332a79f6f3c527df12e9": "1729143150",
    "acw_tc": "276082a017291447540617892eeb07039b3fbb4b9edb42563bc0606c5f7ff3",
    "acw_sc__v2": "6710ad137e937b679d38fc3fa29ce3894dc14894",
    "_fp_": "eyJpcCI6IjExMi4xNC4zNS4yNTMiLCJmcCI6ImU5NjU0M2Q1MDU1ZGE0MzJmNjA0N2QxYTExN2M2NjcyIiwiaHMiOiIkMmEkMDgkdXQ3WWJRdnZqTmxLdm92cUdwcnIxdXpLRUpGM1NndHB6OWVwSVFTZ051eFllOE5oNEwwUksifQ%3D%3D",
    "ssxmod_itna": "GqUxciD=ExRDzcDUDGr4x2i8GC0oGO/Bib+KBYz0DBquBxiNDnD8x7YDvzfTKA+iEhx3KQ0+YAaC8i2PpsUK7DG=jBDfxLKe7rceIxND0eGnDBKGSDG5DiFNG3GX//iQGGRxBA2D3f=DAmqDFxibDiWhyc9=DlKDRxDCi4i7DiHO=zKDjnKDrpKpDi9w=9KDdciTWD0dDDc=P4iOj40Wc9Hq140Tr3MOlcF4b7iPDm4dSc7wDCKDjokkPzKDworGe+A+Q4gmNzOIvOCeojpoDxnr7Y43oixYcp0deYex7lRb3mPaeC03Vwh5ixHhx3e0MPhKYD==",
    "ssxmod_itna2": "GqUxciD=ExRDzcDUDGr4x2i8GC0oGO/Bib+KBYD8TPqee0KjKqD/tbDFO7DQ5j2DKeYWqid0ROC9Ni5TUWyL8WW3cOawK/pGfbs0Gg6fxQzHSk8F8V8C9iai1oAmTws9QbyB1iZt+rt2gmF3c5hCAe1TOW+rcnrt+r+RxAtl1PGy6nDi+mb1FOhs3fNSgOGKgu4vP35ceBDaxqPlDMN5mYKWmD5+O8qoxbr7jPbE=vwCjf=mAeQdSW53hrGfo7t=nk=HUcWkKA9IaQ9oBF4aPHHCBA0t6kFh9a2t9i8UE3cV0d/MI7igYxIhNoOr1hNn215gbhuDX31M7DvoC7iQKx17k7D+HshdDRD1+NA4GHnw=8NQhroYmW+iMr75eeYB5xWIgODyExU75M+kAY5Qx1ciKkoxoOke=k18pNOdu0k8YN2DppoGW7wi2PbOzWT5Sn+2G8WSG=Yd6lYMo85h=mSGIw8f1oWYd30muATorvgEjOki5reZcmnE3u7GmLiQ76heILZt2Es7kHb=wqQrb20Z2wOoiy1A1eYcGXd2f08TyLK/Yt9gFeI4k7AMo7B4F4jtxnDFQimOG/ANBT5N/oxl94NTsRk5muDaqX8HDa3bmDorRgDyF+8eFvy8nbNn7wq1E5D==+ExeYi7eYfDDwg+7GToF6/9MR9E1ZUf7/aOXC0xC3KgTV4Y/w1GplTlzxIBq44+oC+Kt8pYK4dQRogBtCx7Aq8ttw4uKdjSjxvut9+tAFD318z4mrQkBDTWFQiG+4IeLRHRxAOb4rtTK6Q3AKMPD7=DijLRZKGor+QDkBlzvGAKzrh8kYDvBcmQvlfGhieDMD72xfxBBfDx0eQpKobeeD=="
}
url = "https://www.vcg.com/creative/by-images-search"
params = {
    "url": "https://bj-feiyuantu.oss-cn-beijing.aliyuncs.com/web/searchByImagevcg_image_upload_d4221350-8c50-11ef-a961-c93e12ccc850.jpeg"
}
response = requests.get(url, headers=headers, cookies=cookies, params=params)

print(response.text)
print(response)